package com.yhsoft.buyer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yhsoft.buyer.controller.request.UserDeleteInVo;
import com.yhsoft.buyer.controller.request.UserQueryInVo;
import com.yhsoft.buyer.controller.request.UserUpdateInVo;
import com.yhsoft.buyer.controller.response.BuyerUserOutVo;
import com.yhsoft.buyer.controller.response.WxLoginOutVo;
import com.yhsoft.buyer.entity.BuyerUser;
import com.yhsoft.common.response.PageResult;
import com.yhsoft.wxprogram.controller.request.GetPhoneNumInVo;
import com.yhsoft.wxprogram.controller.request.UserInfoInVo;

/**
 * <p>
 * 买家 服务类
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-09-26
 */
public interface IBuyerUserService extends IService<BuyerUser> {

    WxLoginOutVo loginByWx(String appId, String code, boolean test);

    void getPhoneNum(GetPhoneNumInVo inVo);

    void setUserInfo(UserInfoInVo inVo);

    String getUserPhoneNum();

    PageResult<BuyerUserOutVo> getBuyerUserList(UserQueryInVo inVo,Long pageNo ,Long pageSize);

    BuyerUserOutVo getBuyerUser(String id);

    void updateStatus(UserUpdateInVo inVo);

    void delete(UserDeleteInVo inVo);
}
